@import "./base.scss";
body{
    font-family: 微软雅黑, 宋体, verdana, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 12px;
}

.header{
    .header-item{
        .username{
            display: inline-block;
            max-width: 110px;
            overflow: hidden;
            text-overflow: ellipsis;
            height: 36px;
            line-height: 36px;
            vertical-align: bottom;
            white-space: nowrap;
        }

    }
    .dibu{
        display: flex;
        .loginBef{
            display: none;
        }
    }
}

// .checkBox.active{
//     background-color: #ff4554;
// }
.icon-querenduigougouhao{
    color: #fff;
    width: 16px;
    height: 16px;
    left: 21px;
}

// <!-- logo行开始 -->
.logoLine{
    border-bottom: 1px solid #f5f5f5;
    height: 91px;
    .logoLine-inner{
        width: 1200px;
        margin: 0 auto;
        padding-bottom: 20px;
        .logo-box{
            width: 240px;
            overflow: hidden;
            padding-left: 10px;
            padding-top: 16px;
            img{
                width: 199px;
                height: 52px;
            }
        }
        .step-box{
            width: 372px;
            margin-top: 44px;
            .step-item{
                font-size: 16px;
                line-height: 24px;
                .step-num{
                    color: #fff;
                    width: 24px;
                    height: 24px;
                    float: left;
                    font-size: 16px;
                    line-height: 24px;
                    text-align: center;
                    margin-right: 9px;
                    border-radius: 50%;
                    background-color: #666;
                }
                .active{
                    background-color: #ff4554;
                }
            }
            .step-arrow{
                color: #666;
                margin: 0 10px;
                line-height: 24px;
                span{
                    font-size: 8px;
                }
            }
        }
    }
}
// <!-- logo行结束 -->

// <!-- 商品展示开始 -->
//标题
.cart-goods-title{
    width: 1200px;
    margin: 0 auto;
    color: #333;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    padding-top: 10px;

}
.cart-goods-box{
    width: 1200px;
    margin: 0 auto;
    position: relative;
    .goods-header{
        color: #333;
        font-size: 12px;
        line-height: 18px;
        padding: 18px 0;
        height: 18px;
        .check-item{
            width: 80px;
            padding-left: 20px;
        }
        .header-item1{
            width: 306px;
        }
        .header-item2{
            width: 202px;
        }
        .header-item3{
            width: 182px;
        }
        .header-item4{
            width: 120px;
        }
        .header-item5{
            width: 184px;
        }
        // .header-item6{
        //     width: 182px;
        // }
    }
    .checkBox{
        margin-right: 20px;
        width: 16px;
        height: 16px;
        overflow: hidden;
        border-radius: 4px;
        border: 1px solid #666;
        text-align: center;
        line-height: 16px;
        display: inline-block;
        vertical-align: bottom;
    }
    .cart-collection{
        // height: 166px;
        .check-bar{
            color: #333;
            font-size: 12px;
            padding: 9px 20px;
            background-color: #f5f5f5;
            .check-box{
                width: 16px;
                height: 16px;
                overflow: hidden;
                border-radius: 4px;
                border: 1px solid #666;
                text-align: center;
                line-height: 16px;
                display: inline-block;
                vertical-align: bottom;
            }
        }
        .cart-content{
            // height: 124px;
            border-bottom: 6px solid #f5f5f5;
            .items{
                height: 123px;
                border-bottom: 1px solid #f5f5f5;
                .items-content{
                    padding: 20px 0;
                    .check-input-box{
                        width: 38px;
                        padding-left: 20px;
                    }
                    .img-box{
                        width: 92px;
                        position: relative;
                        a{
                            display: inline-block;
                            position: relative;
                            img{
                                width: 80px;
                                height: 80px;
                                border-radius: 4px;
                                background-color: #f5f5f5;
                            }
                        }
                    }
                    .goods-name{
                        width: 241px;
                        margin-right: 15px;
                        a{
                            font-family: 微软雅黑, 宋体, verdana, "Helvetica Neue", Helvetica, sans-serif;
                            font-size: 12px;
                            color: #333;
                            line-height: 20px;
                        }
                    }
                    .goods-attr{
                        width: 202px;
                    }
                    .goods-price{
                        width: 182px;
                        font-size: 16px;
                        span{
                            font-size: 16px;
                        }
                    }
                    .goods-num-box{
                        width: 120px;
                        .goods-num-item{
                            width: 78px;
                            height: 22px;
                            border: 1px solid #666;
                            display: flex;
                            .calc{
                                font-size: 26px;
                                width: 22px;
                                height: 22px;
                                color: #333;
                                line-height: 22px;
                                text-align: center;
                                display: inline-block;
                                cursor: pointer;
                            }
                            :first-child{
                                color: #ccc;
                            }
                            .input-num{
                                width: 34px;
                                height: 22px;
                                padding: 0;
                                border: none;
                                text-align: center;
                            }
                        }
                    }
                    .goods-sum{
                        color: #ff4554;
                        font-size: 18px;
                        width: 184px;
                    }
                    .link-box{
                        line-height: 20px;
                        a{
                            color: #333;
                        }
                    }
                }
            }
        }
    }
}
// <!-- 商品展示结束 -->
// <!-- 商品展示下面的按钮与结算开始 -->
.cart-btn{
    width: 100%;
    height: 48px;
    .cart-inner{
        width: 1080px;
        margin: 0 auto;
        position: relative;
        padding-right: 120px;
        background-color: #fff;
        .check-item{
            padding: 15px 20px;
            line-height: 18px;
            .checkBox{
            margin-right: 20px;
            width: 16px;
            height: 16px;
            overflow: hidden;
            border-radius: 4px;
            border: 1px solid #666;
            text-align: center;
            line-height: 16px;
            display: inline-block;
            vertical-align: bottom;
            }
        }
        .action-btn{
            line-height: 28px;
            padding: 10px;
            a{
                color: #333;
                margin-right: 24px;
                display: inline-block;
            }
        }
        .total-info{
            .total-num-box{
                height: 48px;
                padding-right: 30px;
                display: flex;
                flex-direction: column;
                justify-content: center;
                .num{
                    color: #333;
                    font-size: 14px;
                    font-weight: 600;
                    line-height: 28px;
                    .number{
                        margin: 0 4px;
                        font-size: 20px;
                        color: #ff4554;
                        font-weight: normal;
                        display: inline-block;
                    }
                }
            }
            .priceBox{
                height: 48px;
                line-height: 16px;
                padding-right: 20px;
                display: flex;
                flex-direction: column;
                justify-content: center;
                .total-price{
                    font-size: 14px;
                    color: #333;
                    i{
                        color: #ff4554;
                    }
                    span{
                        color: #ff4554;
                    }
                }
                .zongji{
                    color: #666;
                    font-size: 10px;
                }
            }
        }
        .submit-btn{
            right: 0;
            top: 0;
            color: #fff;
            width: 120px;
            height: 48px;
            padding: 10px;
            font-size: 16px;
            line-height: 24px;
            text-align: center;
            border: none;
            border-radius: 4px;
            margin: 0;
            background-color: #ff4554;
        }
        
    }
}
// <!-- 商品展示下面的按钮与结算结束 -->

// <!-- 最近浏览开始 -->
.goods-browser{
    width: 1200px;
    height: 350px;
    margin: 15px auto 0;
    .browser-tit{
        color: #333;
        font-size: 20px;
        padding: 15px 20px;
        border-bottom: 1px solid #f5f5f5;
    }
    .browserBox{
        padding-top: 15px;
        .browser-arrow{
            width: 20px;
            height: 130px;
            padding-top: 80px;
            span{
                color: #333;
                font-size: 40px;
                margin-left: -10px;
            }
        }
        .afl{
            margin-right: 15px;
        }
        .browser-content{
            width: 1130px;
            height: 277px;
            overflow: hidden;
            .browser-item{
                width: 210px;
                height: 277px;
                float: left;
                margin-right: 20px;
                .img-box{
                    width: 210px;
                    height: 210px;
                    display: inline-block;
                    img{
                        width: 210px;
                        height: 210px;
                    }
                }
                .txt{
                    color: #333;
                    font-size: 14px;
                    margin-top: 10px;
                    display: block;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    height: 22px;
                    line-height: 22px;
                }
                .goods-price{
                    margin-top: 10px;
                    line-height: 20px;
                    span{
                        color: #333;
                        font-size: 18px;
                    }
                    .add-to-cart{
                        color: #666;
                        font-size: 12px;
                        line-height: 18px;
                        padding: 0 5px;
                        margin: 0;
                        background-color: #fff;
                        border: 1px solid #666;
                    }

                }
            }
        }
    }

}
// <!-- 最近浏览结束 -->

//购物车为空时开始

// .empty-cart-box{
//     // top: -1478px;
//     height: 241px;
//     // display: none;
    
.empty-cart{
    width: 1200px;
    height: 204px;
    margin-top: 76px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    z-index: 10;
    visibility: hidden;
    left: 50%;
    margin-left: -600px;
    top: 164px;

    .empty-img-fl{
        width: 240px;
        height: 204px;
        margin-left: 345px;
        margin-right: 55px;
        background-color: #f5f5f5;
        img{
            width: 240px;
            height: 240px;
        }
    }
    .empty-info{
        padding-top: 70px;
        font-size: 14px;
        font-weight: 400;
        line-height: 180%;
        h3{
            color: #333;
            font-size: 24px;
            font-weight: 700;
        }
        .dec{
            color: #999;
            font-size: 14px;
            line-height: 20px;
            margin-top: 5px;
        }
        .go-to{
            width: 120px;
            height: 30px;
            line-height: 30px;
            margin-top: 16px;
            text-align: center;
            font-size: 14px;
            color: #fff;
            border-radius: 4px;
            display: inline-block;
            background-color: #ff4554;
        }
    }
}

//购物车为空时结束